package com.myzombieapocalypse.projectz.application;

import com.myzombieapocalypse.projectz.domain.Map;
import com.myzombieapocalypse.projectz.domain.MapDAO;

import java.util.List;

/**
 * User: StuartS
 * Date: 25/10/11
 * Time: 07:20
 */
public class MapFacadeTx implements MapFacade {
    private com.myzombieapocalypse.projectz.domain.MapDAO mapDAO;

    public void setMapDAO(MapDAO mapDAO) {
        this.mapDAO = mapDAO;
    }

    public List<Map> getAllMaps() {
        return mapDAO.getAll();
    }
}
